import { ChineseToKeyType } from './type'

/**每个大类的子项中文对应的key值(即入库数据库对应的字段) */
export const chineseToKey:ChineseToKeyType = {
  /**视察披露信息start */
  "新能源":"newEnergyTotal",
  "直调负荷":"systemLoad",
  "联络线受电负荷":"receivingLoad",
  "风电":"windPowerTotal",
  "光伏":"pvTotal",
  "地方电厂":"localPowerTotal",
  "非市场化核电":"nuclearPowerTotal",
  "自备机组":"selfContainedTotal",
  "试验机组":"testUnitTotal",
  "抽蓄":"pumpingTotal",
  /**正负备用信息 */
  "负备用":'negativeCharge',
  "正备用":'positiveCharge',
  /**节点电价 */
  "节点电价":"nodePrice",
  /**抽蓄发电计划 */
  "抽蓄数据":"pumpedPlan",
  /**用户侧电价 */
  "用户侧电价":'userPrice',
  /**事前监管 */
  "事前监管":"isTriggered",
  "平均供需比": 'avgRatio',
  "高峰供需比": 'peakRatio',
  /**必开必停 */
  "必开":"on",
  "必停":"off",
  /**common 节点 */
  "节点名称":"nodeName",
  "节点id":"nodeId",
  "城市名称":"cityName"
}

export enum SystemEnum {
  /**云脑token验证前缀名 */
  TOKEN_Bearer = 'Bearer'
}


